package com.sky.mapper;

import com.sky.entity.*;
import com.sky.vo.DishVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
    void saveUser(User user);

    User getUserByOpenid(String openid);

    List<Category> categoryPageQuery(Integer type);

    List<DishVO> UserDishQuery(Dish dish);

    List<Setmeal> userSetmealList(Integer categoryId);

    List<SetmealDish> userSetmealGetById(Long id);
}
